package org.snail.proxy.server;

public class DSystem {
    public static String OS_NAME;

    public static int CPU_NUM = 0;

    static {
        OS_NAME = System.getProperties().getProperty("os.name");
        CPU_NUM = Runtime.getRuntime().availableProcessors();
    }

    public static boolean isWindows() {
        return OS_NAME.toLowerCase().startsWith("window");
    }
}
